Numerical options models without programming

نویسندگان

  • Curt Randall
  • Elaine Kant
چکیده

We describe the automatic generation of nite diierence codes for solving the Black-Scholes and related equations for option valuation using the SciNapse software synthesis system. Analysts can specify codes at a very high level that mirrors the mathematical description of the problem. A typical option pricing speciication occupies less than a half page. From such concise input, the system automatically generates validated, documented codes of several hundred lines of either C or Fortran in minutes, codes of several thousand lines in about an hour. 1 The Opportunity Rapid development of numerical models for pricing and hedging has become essential to the derivatives industry. New types of derivatives proliferate as customers demand instruments structured to speciic requirements. Analysts must generate pricing models for the new instruments quickly and inexpensively, often within days or hours. The current method of developing nancial models, and scientiic modeling software in general, is a tedious cycle of programming, debugging, and re-testing, quite ill-suited to this new environment. Software synthesis can deliver an order of magnitude increase in software productivity. Software synthesis is the process of transforming high level speciications that mirror the mathematical description of the problem into eecient code in a conventional programming language such as C or Fortran. In this paper, we describe how analysts can specify options models to the SciNapse software synthesis system and display results from the generated codes. We also outline how SciNapse synthesizes programs. Modeling codes that have been synthesized by SciNapse include simple European and American put and call options, compound options, Asians and lookbacks with continuous and discrete sampling, inside and outside barrier options, convertible bonds with stochastic interest rate models, many types of rainbow options, and more. Underlying equities may pay continuous or discrete dividends of very general forms. Equation parameters may have arbitrary functional forms and dependencies, or may be even interpolated from tabular data. Volatilities, for example, may be assigned price and time structures obtained from current market data. In short, any option pricing problem that can be posed in terms of a PDE (possibly nonlinear) is suitable for SciNapse. In this section we illustrate how to specify pricing models to SciNapse. We begin with a simple speciication of an American put and discuss some basic speciication features. Then we discuss some additional features in a more complex speciication for a program that allows run-time European/American and put/call choices, discrete dividends, and calculation of …

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A New Goal programming approach for cross efficiency evaluation

Cross efficiency evaluation was developed as an extension of DEA. But the traditional DEA models usually have alternative optimal solutions and, as a result, cross efficiency scores may not be unique. It is recommended that without changing the DEA efficiency scores, the secondary goal should be introduced for optimization of the inputs/outputs weights.  Several reports evaluated the perfo...

متن کامل

Solving a Two-Period Cooperative Advertising Problem Using Dynamic Programming

Cooperative advertising is a cost-sharing mechanism in which a part of retailers' advertising investments are financed by the manufacturers. In recent years, investment among advertising options has become a difficult marketing issue. In this paper, the cooperative advertising problem with advertising options is investigated in a two-period horizon in which the market share in the second period...

متن کامل

A new approach to using the cubic B-spline functions to solve the Black-Scholes equation

Nowadays, options are common financial derivatives. For this reason, by increase of applications for these financial derivatives, the problem of options pricing is one of the most important economic issues. With the development of stochastic models, the need for randomly computational methods caused the generation of a new field called financial engineering. In the financial engineering the pre...

متن کامل

Comparison of Selected Advanced Numerical Methods for Greeks Calculation of Vanilla Options

Option valuation has been a challenging issue of financial engineering and optimization for a long time. The increasing complexity of market conditions requires utilization of advanced models that, commonly, do not lead to closed-form solutions. Development of novel numerical procedures, which prove to be efficient within various option valuation problems, is therefore worthwhile. Notwithstan...

متن کامل

Quantitative Finance: An Object–Oriented Approach in C++

Contents Preface xi Acknowledgements xv 1 A brief review of the C++ programming language 1 1.1 Getting started 1 1.2 Procedural programming in C++ 3 1.3 Object–oriented features of C++ 13 1.4 Templates 25 1.5 Exceptions 27 1.6 Namespaces 29 2 Basic building blocks 33 2.1 The Standard Template Library (STL) 33 2.2 The Boost Libraries 42 2.3 Numerical arrays 47 2.4 Numerical integration 54 2.5 Op...

متن کامل

Option Pricing for Jump Diffusion Models under Exponential Lévy Models using Mathematica

This paper describes the implementation of numerical algorithms for pricing European options using Mathematicar. We show how the semi-discrete system of differential equations is efficiently solved using Mathematica’sr in-built NDSolve function. We also show that using functional programming for coding algorithms in Mathematicar, give results comparable to those obtained using procedural progra...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1997